package common;

import java.io.Serializable;

public class Answer implements Serializable {
    private String id;
    private String homeworkid;
    private String content="";
    private FileRedefined pic;
    private FileRedefined file;
    private String question="";
    private String score="0";
    public Answer() {
    }
    public Answer(String id, String homeworkid, String content, FileRedefined pic, FileRedefined file, String question) {
        this.id = id;
        this.homeworkid = homeworkid;
        this.content = content;
        this.pic = pic;
        this.file = file;
        this.question = question;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public FileRedefined getPic() {
        return pic;
    }

    public void setPic(FileRedefined pic) {
        this.pic = pic;
    }

    public FileRedefined getFile() {
        return file;
    }

    public void setFile(FileRedefined file) {
        this.file = file;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHomeworkid() {
        return homeworkid;
    }

    public void setHomeworkid(String homeworkid) {
        this.homeworkid = homeworkid;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }
}